package com.hm.common.plugin.ueditor;

import com.hm.common.enums.UeActionEnum;
import lombok.Data;

import java.util.Arrays;
import java.util.List;

/**
 * @author shishun.wang
 * @version 1.0
 * @date 2019/4/3 10:59
 * @describe
 */
@Data
public class ImageConfig extends BaseUe {
	
	private static final long serialVersionUID = 1L;
	
	private String imageUrl;
	
	private String imagePath = "";
	
	private String imageFieldName = "file";
	
	private int imageMaxSize = 1024 * 1024 * 7;
	
	private String imageActionName = UeActionEnum.upload_image.name();
	
	private List<String> imageAllowFiles = Arrays.asList(".png", ".jpg", ".jpeg", ".gif", ".bmp");
}
